<!DOCTYPE html>
<html>
  <head>
    <title>home.html</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<title>XXX云信息系统</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style>
.swal-title {
  margin: 0px;
  font-size: 16px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.21);
  margin-bottom: 28px;
}
</style>
  </head>
  
  <body>
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">折叠面板</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">xx管理平台</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">员工信息</a></li>
        <li><a href="#">菜单一</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">员工管理 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">员工信息1</a></li>
            <li><a href="#">客户信息1</a></li>
          </ul>
        </li>
      </ul>
   
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#">你好：XXX</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" >个人中心 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">个人信息</a></li>
            <li><a href="#">退出</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>


<div class="container-fluid">
	<div id="my-content" ></div>
</div>

<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/my.js"></script>
<script src="js/sweetalert.min.js"></script>
<script type="text/javascript">
//var jlg = new
function aa(){
	$.ajax({
		   url:'emp.do?operate=queryEmps',
		  method:'post',
		  dataType:'html'
	 }).done(function(data){
		 $('#my-content').html(data);
	 }).fail(function(xhr){
		 $('#my-content').html(xhr.responseText);
	 });
	
};

$('a:contains(员工信息)').click(function(event){
	 aa();
	event.preventDefault();//阻止默认行为
});

</script>



  </body>
</html>
